package cn.iocoder.yudao.module.forward.controller.admin.scope.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import cn.iocoder.yudao.module.forward.dal.dataobject.scope.ScopeResourceDO;

@Schema(description = "管理后台 - 授权范围新增/修改 Request VO")
@Data
public class ScopeSaveReqVO {

    @Schema(description = "序号", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer id;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "授权范围")
    private String scope;

    @Schema(description = "发布主题")
    private String topic;

    @Schema(description = "主题类型")
    private String topicType;

    @Schema(description = "所属转发")
    private Integer brokerId;

    @Schema(description = "所属分组")
    private Integer groupId;

    @Schema(description = "是否启用")
    private Boolean enable;

    @Schema(description = "授权范围信源关联列表")
    private List<ScopeResourceDO> scopeResources;

}